package com.xjl.design.pattern.structural.facede;

/**
 * 积分支付的子系统
 */
public class PointsPaymentService {

    public boolean pay(PointsGift pointsGift){
        //扣减积分
        System.out.println("支付" +pointsGift.getName()+"成功" );
        return true;
    }

}
